<script lang="ts">
const foo: Promise<any>
foo.th<caret>en()
</script>
